package com.liao.domain.strategy.service;


import com.liao.domain.strategy.model.entity.RaffleAwardEntity;
import com.liao.domain.strategy.model.entity.RaffleFactorEntity;

/*
 * @Author:  long
 * @Description: 抽奖策略接口
 * @date:  2024-08-03 14:47
 */
public interface IRaffleStrategy {

    /**
     * 执行抽奖；用抽奖因子入参，执行抽奖计算，返回奖品信息
     *
     * @param raffleFactorEntity 抽奖因子实体对象，根据入参信息计算抽奖结果
     * @return 抽奖的奖品
     */
    RaffleAwardEntity performRaffle(RaffleFactorEntity raffleFactorEntity);

}
